package com.technoorbit.vbreakup;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class SupermainActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.supermain);
       
        btnFirstLove();
        btnAfterBreakup();
        btnBuildingLove();
        btnQuotes();
        btnEntertainment();
    }
    
  
    public void btnFirstLove()
    {
    	((Button) findViewById(R.id.btnFirstLove)).setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				Intent intent=new Intent(SupermainActivity.this, ListItemsActivity.class);
				intent.putExtra("PARENTID", "14");
				intent.putExtra("TYPE", "Records");
				startActivity(intent);
			}
		});
    }
    public void btnBuildingLove()
    {
    	((Button) findViewById(R.id.btnBuildingLove)).setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				Intent intent=new Intent(SupermainActivity.this, ListItemsActivity.class);
				intent.putExtra("PARENTID", "20");
				intent.putExtra("TYPE", "Records");
				startActivity(intent);
			}
		});
    }
    
    public void btnAfterBreakup()
    {
    	((Button) findViewById(R.id.btnBuildingLove)).setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				Intent intent=new Intent(SupermainActivity.this, ListItemsActivity.class);
				intent.putExtra("PARENTID", "20");
				intent.putExtra("TYPE", "Records");
				startActivity(intent);
			}
		});
    }
    public void btnEntertainment()
    {
    	((Button) findViewById(R.id.btnGossips)).setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				Intent intent=new Intent(SupermainActivity.this,  LoginActivity.class);
				//intent.putExtra("PARENTID", "34");
				//intent.putExtra("TYPE", "Records");
				startActivity(intent);
			}
		});
    }
    
    public void btnQuotes()
    {
    	((Button) findViewById(R.id.btnQuotes)).setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				Intent intent=new Intent(SupermainActivity.this, QuotesMainActivity.class);
				startActivity(intent);
			}
		});
    }
}